﻿<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="PurchaseSales.Manage" namespace="PurchaseSales.Manage.Model.Entities">
  <class name="AuthRoleFunction" table="AuthRoleFunction" lazy="true">
    <id name="Id" column="Id">
      <generator class="native" />
    </id>
    <property type="string" name="FunctionKey" column="[FunctionKey]" unique-key="UK_Key"/>

    <many-to-one class="AuthRoles" column="RoleId" name="AuthRole" unique-key="UK_Key"/>
  </class>
</hibernate-mapping>